/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.aotoso.device.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.aotoso.device.entity.TestRes;
import com.thinkgem.jeesite.aotoso.device.dao.TestResDao;

/**
 * 设备采集到的数据列表Service
 * @author youc
 * @version 2016-11-24
 */
@Service
@Transactional(readOnly = true)
public class TestResService extends CrudService<TestResDao, TestRes> {

	public TestRes get(String id) {
		return super.get(id);
	}
	
	public List<TestRes> findList(TestRes testRes) {
		return super.findList(testRes);
	}
	
	public Page<TestRes> findPage(Page<TestRes> page, TestRes testRes) {
		return super.findPage(page, testRes);
	}
	
	@Transactional(readOnly = false)
	public void save(TestRes testRes) {
		super.save(testRes);
	}
	
	@Transactional(readOnly = false)
	public void delete(TestRes testRes) {
		super.delete(testRes);
	}
	
}